export const defaultConfig = {
  // 鼠标移入悬浮指示
  tooltip: {
    trigger: 'axis',
    axisPointer: {
      type: 'shadow',
      label: {
        show: true,
      },
    },
  },
  color: ['#A3A0FB', '#55D8FD', '#84E0A7'],
  grid: {
    top: 80,
    right: 20,
    bottom: 10,
    left: 20,
    containLabel: true,
  },
  legend: {
    top: '40',
    left: 'center',
    textStyle: {
      color: 'rgba(255, 255, 255, 1)',
    },
  },
  toolbox: {
    top: '10',
    right: '10',
    showTitle: false,
    feature: {
      saveAsImage: { show: true },
      magicType: { type: ['line', 'bar'] },
    },
    iconStyle: {
      borderColor: '#45b8fd',
      borderWidth: 1.5,
    },
  },
};
